package com.situ.vivamarket.model;

import jakarta.validation.constraints.NotEmpty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.URL;

@Setter
@Getter
public class Brand {
    private Integer id;
    @NotEmpty(message = "品牌名不可为空")
    private String name;
    private String logo;
    private String company;
    @URL(message = "网址格式不正确")
    private String site;
    private String description;

}
